home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15567 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.c++,comp.lang.c,comp.os.ms-windows.programmer.misc
  4. Subject: Re: fastest code
  5. Date: 5 Apr 1996 20:41:41 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4k4ll5$fq@solutions.solon.com>
  8. References: <316112A2.7D37@public.sta.net.cn> <NFS9dJAHgWYxEwdO@chrism.demon.co.uk> <4k1sntINNdd6@keats.ugrad.cs.ubc.ca> <3165a356.105975604@204.248.25.97>
  9. Reply-To: seebs@solon.com
  10. NNTP-Posting-Host: solutions.solon.com
  11.  
  12. In article <3165a356.105975604@204.248.25.97>,
  13. William E. Kempf <srwillrd@novia.net> wrote:
  14. >A good environ makes a huge difference to a programmer during
  15. >development (though every developer has a different opinion about what
  16. >a "good" environment is).  For this reason, many developers actually
  17. >have two compilers, one for development and one for final builds.
  18.  
  19. I would *never* do that.  It would be suicide; why run the risk that
  20. your "real" build will have bugs your normal build won't, because the
  21. compilers have different bugs...
  22.  
  23. YMMV.  I use several different compilers for anything I want to develop
  24. for real, especially
  25.     gcc -pedantic -O -Wall -Wshadow -Wstrict-prototypes
  26.     -Wmissing-prototypes
  27. (the -O will enable certain warnings that aren't otherwise possible.)
  28.     lcc -A -A
  29. and occasionally other compilers.  lcc is brilliant; it catches things
  30. like the subtle portability bug of
  31.     puts("`foo'");
  32.  
  33. -s
  34. -- 
  35. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  36. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  37. FUCK the communications decency act.  Goddamned government.  [literally.]
  38. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  39.